package com.bmic.cotacoes;

import java.io.IOException;

import javax.xml.parsers.ParserConfigurationException;

import org.xml.sax.SAXException;

import android.app.ListActivity;
import android.os.Bundle;
import android.util.Log;

public class Lucio extends ListActivity {



	@Override
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		Parser parser = new Parser();
		Papel p = new Papel();
		try {
			p = parser.recuperaInformacoes("BBAS3");
		} catch (ParserConfigurationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SAXException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		Log.i("PAPEIS COTACAO>>>>>>>>>>>>>>>", p.getCodigo());
	}

	
}